package com.parking.mgr.useraccount.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.parking.mgr.useraccount.model.entity.UserIdFileEntity;
import com.parking.mgr.useraccount.model.param.UserIdFileParam;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import java.io.IOException;

/**
 * @ClassName UserAccountService
 * @Description 用户身份证上传
 * @Auther: zhijianpu
 * @Date: 2023/5/25
 */
public interface UserIdFileCosService extends IService<UserIdFileEntity> {

    void uploadFrontFile(MultipartFile file, String fTrueName, String idNumber, HttpServletRequest request);

    void uploadBackFile(MultipartFile file, String fTrueName, String idNumber, HttpServletRequest request);

    UserIdFileEntity getOneByUserPassportId(String userPassportId);
}
